package com.jiajunsong.blog.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jiajunsong.blog.domain.Catalog;
import com.jiajunsong.blog.domain.User;

public interface CatalogRepository extends JpaRepository<Catalog, Long> {
	List<Catalog> findByUser(User user);
}
